#pragma once
#include <stdio.h>

class JointPositionObj
{
public:
	JointPositionObj(void);
	~JointPositionObj(void);

	void setX(float x) {
		if(!xSet) {
			printf("Initializing X ....\n");
			this->initX = x;
			xSet = true;
		}
		this->x = x;
	}

	float getX() {
		return this->x;
	}

	void setY(float y) {
		if(!ySet) {
			printf("Initializing Y ....\n");
			this->initY = y;
			ySet = true;
		}
		this->y = y;
	}

	float getY() {
		return this->y;
	}

	void setZ(float z) {
		if(!zSet) {
			printf("Initializing Z ....\n");
			this->initZ = z;
			zSet = true;
		}
		this->z = z;
	}

	float getZ() {
		return this->z;
	}

	float getInitX() {
		return this->initX;
	}

	float getInitY() {
		return this->initY;
	}

	float getInitZ() {
		return this->initZ;
	}

private:
	float x;
	float y;
	float z;

	float initX;
	float initY;
	float initZ;

	bool xSet;
	bool ySet;
	bool zSet;
};
